unit UnitSplash;

interface

uses
  Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
  Dialogs, ExtCtrls, JvProgressBar, JvXPProgressBar;

type
  TFormSplash = class(TForm)
    ImageSplash: TImage;
    progresSplash: TJvXPProgressBar;
    TimerSplash: TTimer;
    procedure TimerSplashTimer(Sender: TObject);
  private
    { Private declarations }
  public
    { Public declarations }
  end;

var
  FormSplash: TFormSplash;

implementation

{$R *.dfm}

procedure TFormSplash.TimerSplashTimer(Sender: TObject);
begin
    progresSplash.Position:=progresSplash.Position+1;
    if progresSplash.Position>=progresSplash.Max then begin
      TimerSplash.Enabled:=false;
      Close;
    end;
end;

end.
